package com.ruoyi.socket.gateway.pool;

import io.netty.channel.ChannelFuture;
import org.apache.commons.pool2.PooledObject;
import org.apache.commons.pool2.PooledObjectFactory;

/***
 *  @description
 *  @author zhao
 *  @date: 2020/6/13
 *  @version: v1.0
 */
public class ClientPoolFactory implements PooledObjectFactory<ChannelFuture> {


    @Override
    public PooledObject<ChannelFuture> makeObject() throws Exception {
        return null;
    }

    @Override
    public void destroyObject(PooledObject<ChannelFuture> pooledObject) throws Exception {

    }

    @Override
    public boolean validateObject(PooledObject<ChannelFuture> pooledObject) {
        return false;
    }

    @Override
    public void activateObject(PooledObject<ChannelFuture> pooledObject) throws Exception {

    }

    @Override
    public void passivateObject(PooledObject<ChannelFuture> pooledObject) throws Exception {

    }
}
